// 基于template/src/views/\{{appModules}}/\{{pages@DELISTEXPVIEW}}/\{{spinalCase page.codeName}}-model.ts.hbs生成
import { IListExpViewModel } from "@/core/interface/view/model";

function getModel(): IListExpViewModel {
    return {
        {{> @macro/view/view-model.hbs page=page}}
        sideBarLayout: '{{#eq page.sideBarLayout 'TOP'}}TOP{{else}}LEFT{{/eq}}',
{{#page.ctrls}}
  	{{#eq controlType 'LISTEXPBAR'}}
		expBarName: '{{codeName}}',
		expBarWidth: {{width}},
		expBarHeight: {{height}}
  	{{/eq}}
{{/page.ctrls}}
    }
}

//  视图模型
export const model = getModel();